<div class="masterUrls view">
<h2><?php  __('Master Url');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $masterUrl['MasterUrl']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Attribute'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $masterUrl['MasterUrl']['attribute']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('System Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $masterUrl['MasterUrl']['system_name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Description'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $masterUrl['MasterUrl']['description']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Url'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $masterUrl['MasterUrl']['url']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $masterUrl['MasterUrl']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Status'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $masterUrl['MasterUrl']['status']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Master Url', true), array('action' => 'edit', $masterUrl['MasterUrl']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Master Url', true), array('action' => 'delete', $masterUrl['MasterUrl']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $masterUrl['MasterUrl']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Master Urls', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Master Url', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Brand Master Url Values', true), array('controller' => 'brand_master_url_values', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Brand Master Url Value', true), array('controller' => 'brand_master_url_values', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Brand Master Url Values');?></h3>
	<?php if (!empty($masterUrl['BrandMasterUrlValue'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Brand Id'); ?></th>
		<th><?php __('Master Url Id'); ?></th>
		<th><?php __('Value'); ?></th>
		<th><?php __('Created'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($masterUrl['BrandMasterUrlValue'] as $brandMasterUrlValue):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $brandMasterUrlValue['id'];?></td>
			<td><?php echo $brandMasterUrlValue['brand_id'];?></td>
			<td><?php echo $brandMasterUrlValue['master_url_id'];?></td>
			<td><?php echo $brandMasterUrlValue['value'];?></td>
			<td><?php echo $brandMasterUrlValue['created'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'brand_master_url_values', 'action' => 'view', $brandMasterUrlValue['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'brand_master_url_values', 'action' => 'edit', $brandMasterUrlValue['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'brand_master_url_values', 'action' => 'delete', $brandMasterUrlValue['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $brandMasterUrlValue['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>


</div>
